using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Yozeev.SystemConfig
{
    /// <summary>
    /// 支付方式
    /// </summary>
    public class PayMethod : ByUserEntity<Guid>
    {
        /// <summary>
        /// 支付名称
        /// </summary>
        [Required]
        [StringLength(128)]
        public string PayName { get; set; }
        /// <summary>
        /// 代码
        /// </summary>
        [Required]
        [StringLength(128)]
        public string PayCode { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public long? Sort { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }
    }
}
